import request from "@/utils/request";

// 查询项目信息列表
export function listInitiation(query) {
  return request({
    url: "/project/initiation/list",
    method: "get",
    params: query,
  });
}

// 查询项目信息详细
export function getInitiation(projectId) {
  return request({
    url: "/project/initiation/" + projectId,
    method: "get",
  });
}

// 修改项目信息
export function updateInitiation(data) {
  return request({
    url: "/project/initiation",
    method: "put",
    data: data,
  });
}
